﻿@if(Request.IsAuthenticated) {
     <a href="/User/MyMessages#tabs-1">消息(@(HttpContext.Current.Session["unreadmessagecount"]??0))</a> <a href="/User">@(Context.User.Identity.Name)</a> @Html.ActionLink("注销", "LogOff", "Account") 
}
else
{
    @:[ @Html.ActionLink("登录", "LogOn", "Account") ]
}
